<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>vue.js</title>
		<script src="js/vue.1.0.11.min.js"></script>
		
	</head>
	<body>
		<div id="test">
			<ul>
				<li v-for="list in lists">
					{{list.txt}}
				</li>
			</ul>
		</div>
		<script>
			new Vue({
				el:"#test",
				data:{
					lists:[
						{txt:"网站首页"},
						{txt:"前端资源"},
						{txt:"网站咨询"},
						{txt:"网站资源"},
						{txt:"网闻趣事"},
						{txt:"兴之所至"}
					]
					
				}
			})
		</script>
	</body>
</html>
